package com.mephi.exception;

/**
 * Exception describes situation when client reads Move which is empty, because
 * game was ended
 * @author GM Mephisto
 * @since 201104-19
 */
public class NoMoreMoveException extends BaseApplicationException
{
	public NoMoreMoveException()
    {
        super("Reading game ended with errorCode: " + ERROR_CODE + "\nNo more moves in the game!");
    }

    public NoMoreMoveException(String msg)
    {
    	super(msg);
    }


    private final static String ERROR_CODE = "noSuchMove";
    private static final long serialVersionUID = 7782126842759238014L;
}
